<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8" />
  <title>网上花店</title>

</head>
<link rel="stylesheet" href="./css/index.css">
<link rel="stylesheet" href="./font/iconfont.css">
<link rel="stylesheet" href="./js/swiper-3.4.2.min.css">
<link rel="stylesheet" href="./css/swiper.css">
<link rel="stylesheet" href="./js/animate.min.css">
<link rel="stylesheet" href="./css/diary.css">
<link rel="stylesheet" href="./css/global.css">
<link rel="stylesheet" href="./js/layui.css">

<body>
  <div class="top-bar">
    <div class="banner">
      <span class="left">欢迎访问在线商城</span>
      <span class="right">
        <a href="#" id="search"><i class="iconfont icon-search"></i></a>
        <a href="./card.html"><i class="iconfont icon-cart"></i></a>
        <a href="./login.html"><i class="iconfont icon-user"></i></a>
      </span>
    </div>
    <div class="searchBox">
      <div class="layui-form-item" style="margin: 0;">
        <div class="layui-input-block flex-box" style="margin: 0;">
          <input type="text" name="title" required lay-verify="required" placeholder="请输入关键字" autocomplete="off"
            class="layui-input">
          <button onclick="redirect()" class="layui-btn layui-btn-normal" style="margin-left: 10px;">搜索</button>
        </div>
      </div>
    </div>
  </div>
  <header>
    <ul class="nav">
      <li><i class="iconfont icon-shouye" style="font-size: 20px;"></i><a href="./index.html">商城首页</a></li>
			<li><i class="iconfont icon-suoyou" style="font-size: 20px;"></i><a href="./all.html">所有商品</a></li>
			<li><i class="iconfont icon-liuyanpinglun" style="font-size: 20px;"></i><a href="./leave_message.html">留言</a></li>
			<li><i class="iconfont icon-guanyu" style="font-size: 20px;"></i><a href="./diary.html">养花日记</a></li>
			<!-- <li><i class="iconfont icon-liuyanpinglun"></i><a href="#">待定</a></li> -->
    </ul>
  </header>
  <div class="content">
    <div class="diary-list">
      <ul class="list">
        <li>
          <div class="left">
            <div class="avatar">
              <img src="./img/avatar.jpg" alt="ddd" width="60px" height="60px">
            </div>
          </div>
          <div class="right shadow">
            <div class="head">这是日记的标题</div>
            <div class="main-content">
              <img src="./img/1.jpg" alt="ddd" width="190px" height="253px">
              <p>朱顶红已经有花败的样子。花箭怎么处理。众说纷纭，有齐球茎减掉。有说只箭花，
                留花箭，养分回流。到底怎么才好？不要接种，需要养球。</p>
            </div>
            <i class="arr"></i>
          </div>
        </li>
        <li>
          <div class="left">
            <div class="avatar">
              <img src="./img/avatar.jpg" alt="ddd" width="60px" height="60px">
            </div>
          </div>
          <div class="right shadow">
            <div class="head">这是日记的标题</div>
            <div class="main-content">
              <img src="./img/1.jpg" alt="ddd" width="190px" height="253px">
              <p>朱顶红已经有花败的样子。花箭怎么处理。众说纷纭，有齐球茎减掉。有说只箭花，
                留花箭，养分回流。到底怎么才好？不要接种，需要养球。</p>
            </div>
            <i class="arr"></i>
          </div>
        </li>
      </ul>
    </div>
    <div class="hot-list">
      <div class="sidebar">
        <div class="record">
          <div class="title">养花日记：每一个幸福瞬间 都值得记录珍藏</div>
          <a href="#" rel="nofollow" class="add" title="发表养花日记" target="_blank">记录养花日记</a>
        </div>
        <div class="newlist">
          <h2 class="title" title="热门养花知识">热门养花知识</h2>
          <ul style="margin-top:6px;font-size:14px;line-height:24px;">
            <li>1、<a href="#">夏天花卉栽培要点</a></li>
            <li>2、<a href="#">多肉植物度夏指南</a></li>
            <li>3、<a href="#">夏季如何养花</a></li>
            <li>4、<a href="#">办公室养花要点</a></li>
            <li>5、<a href="#">家里养什么花好</a></li>
            <li>6、<a href="#">多肉植物怎么养</a></li>
          </ul>
        </div>
        <div class="reclist" style="margin-top: 20px;">
          <h2 class="title" title="推荐养花日记">推荐养花日记</h2>
          <div class="list">
            <a href="#" title="最具逼格的组合，红酒软木塞diy多肉植物盆栽">最具逼格的组合，红酒软木塞diy多肉植物盆栽</a>
            <a href="#" title="多肉植物盆栽制作，只需简单6步">多肉植物盆栽制作，只需简单6步</a>
            <a href="#">有外阳台有阳光房，可以露养！为了肉肉，任性又如何</a>
            <a href="#">微景观的作用与价值</a>
            <a href="#">手工苔藓瓶盆景制作方法</a>
            <a href="#">用罐头瓶制作微景观</a>
            <a href="#">南瓜里种植多肉</a>
            <a href="#">家庭盆栽 - 室内分层悬吊式花架</a>
          </div>
        </div>
      </div>

    </div>
  </div>
  <footer style="height: 100px; background: #757575;margin-top: 20px;">

		<div class="display">
			<img src="./img/插画/1.png" alt="www" width="80px" height="80px">
			<div class="contact">
				<span>邮箱：56623265564@qq.com</span>
				<span>电话：400 6666 6666</span>
			</div>
			<img src="./img/插画/3.png" alt="www" width="80px" height="80px">
		</div>
		<!-- <div class="welcome">
			欢迎访问在线商城
		</div> -->
		<!-- <div class="profile">
			<p>本店销售各种植物花卉，如向日葵、百合、菊花、玫瑰、白百合、红玫瑰、牡丹、雏菊、郁金香、月季、康乃馨......可预订和在线购买。</p>
		</div> -->
	</footer>
  <!-- Swiper JS -->
  <script src="./js/swiper-3.4.2.min.js"></script>
  <script src="js/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script>

  <script src="./js/wow.min.js"></script>
  <!-- Initialize Swiper -->
  <script>
    new WOW().init();
    var swiper = new Swiper('.swiper-container', {
      loop: true,
      // autoplay:5000
    });
    $("#search").click(function (e) {

      $(".searchBox").toggle(500)
    })
    // $("body").click(function() {
    // 	$(".searchBox").hide(500)
    // })
    function redirect() {
      console.log("跳转");
      window.location.replace("./all.html");

    }
  </script>
</body>

</html>